<?php 
	echo '<?xml version="1.0" encoding="utf-8"?>';
//	header("Content-type: application/xml; charset=UTF-8"); 
	include 'functions.php';
?>

<feed xmlns="http://www.w3.org/2005/Atom">

<?php
	// Write out so basic ATOM stuff
	$update_time = date(DATE_ATOM);
	echo '<link rel="self" href="' . $blog_url . 'joleblog/rss.php" />' . "\n";
	echo '<title>' . $blog_title . "</title>\n";
	echo '<link href="' . $blog_url . "\" />\n";
	echo '<updated>' . $update_time . "</updated>\n";
	echo '<author>' . "\n" . '<name>' . $blog_author . '</name>' . "\n" . '</author>' . "\n";
	echo '<id>urn:uuid:' . $blog_guid . '</id>';
	show_atom();
?></feed>
